-- GENERATED SPELL FOR [Witchwing Windcaller] --


function spell0_3280(pUnit, Event) --@Enveloping Winds,n/a--
pUnit:FullCastSpellOnTarget(6728,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3280', 12000, 1)
end

function Sorts_3280(pUnit, Event)
local choix_sorts_3280 = math.random(0, 0)
if choix_sorts_3280 == 0 then
pUnit:RegisterEvent('spell0_3280', 1, 1)
end
end

function mob3280_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3280', math.random(1500, 3000), 1)
end

function mob3280_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3280_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3280_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3280, 1, 'mob3280_Action')
RegisterUnitEvent(3280, 2, 'mob3280_Leave')
RegisterUnitEvent(3280, 3, 'mob3280_Kill')
RegisterUnitEvent(3280, 4, 'mob3280_Die')
